package com.dm.webCrawler.project.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@ApiModel("")
@Table(name = "crawler_index")
public class CrawlerIndex {
    /**
     * 文章标志
     */
    @Id
    @Column(name = "id")
    @ApiModelProperty("文章在本网站中的唯一标志")
    private String id;

    @Id
    @Column(name = "type")
    @ApiModelProperty("来源标识")
    private String type;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}